<!DOCTYPE html>
<html>
<title>View transitions: root element style changes during transition</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
#target {
  width: 100px;
  height: 100px;
  contain: paint;
  background: green;
}

body {
  background: grey;
}
</style>

<div id=target></div>

